import numpy as np

# arr = np.random.randint(5, 11, size=(2, 3))
# print(arr)

# arr1 = np.arange(0, 4)
# print(arr1)
# arr2 = np.arange(1, 10, 2)
# print(arr2)
# arr3 = np.arange(0, 1, 0.2)
# print(arr3)
# arr3 = np.arange(5, 0, -1)
# print(arr3)
# arr4 = np.linspace(5, 1 )
# 例2-3
#创建成绩数组score
score=np.arange(0,160,10,dtype='int')
print(score)
#创建身高等差数组hei
he = np.linspace(1.5,2.5,11,retstep=True)
print(he)
#创建棋盘麦粒等比数组wheat
wheat=np.logspace(0,63,64,base=2,dtype='uint64')
print(wheat)